package com.yehuishou.service;

import com.yehuishou.pojo.Address;
import com.yehuishou.pojo.Erwm;
import com.yehuishou.pojo.Identity;
import com.yehuishou.pojo.User;

public interface UserService {

	User findLogin(String phone, String password);

	Integer findByPhone(String phone);

	Integer add(User user);

	void Update(User user);

	User findById(Integer uid);

	void saddress(Address address);

	Address findAByUid(Integer uid);

	void delAddr(Integer uid);

	void updatei(Identity identity);

	Identity findIById(Integer uid);

	void updateAddr(Address addr);

	void saveErwm(Erwm erwm);

	String findErwm(Integer uid);

}
